rm -rf /root/main_phpD.txt && rm -rf /root/phpD_finder.txt 
php --ini >> /root/phpD_finder.txt 
grep -o '/opt/cpanel/ea-php.*/root/etc/php.d' /root/phpD_finder.txt | head -1 > /root/main_phpD.txt 
sed -i -e 's/php.d/php.ini/g' /root/main_phpD.txt

sed -i 's/.*max_execution_time =.*/max_execution_time = 3000/' "$(< /root/main_phpD.txt)"
sed -i 's/.*memory_limit =.*/memory_limit = -1/' "$(< /root/main_phpD.txt)"